<template>
    <div id="app">
        <a-config-provider :locale="locale">
            <router-view></router-view>
        </a-config-provider>
    </div>
</template>

<script>
    import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN';
    export default {
        name: 'app',
        data() {
            return {
                locale: zhCN,
            };
        },
        mounted() {
            this.$nextTick(() => {
                document.getElementById('indexLoading').style.display = 'none';
            });
        }
    };
</script>

<style lang="scss">
    @import './assets/styles/reset.scss';
    @import './assets/styles/common.scss';
    #app {
        width: 100%;
    }
</style>
